package com.learn.xiaoha.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * DemoController
 *
 * @author: cyx_jay
 * @date: 2021/2/5 14:10
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @RequestMapping("/hello")
    public String hello(String name){
        return "hello"+name;
    }
}
